package com.lovo.stock.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.lovo.stock.bean.RoleBean;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 角色持久层类
 */
@Mapper
public interface RoleMapper extends BaseMapper<RoleBean> {
    List<RoleBean> queryRoleByUserId(@Param("userId") int userId);
}
